How to Personalize User Queries

 

About Personalized Queries

Personalized queries are used to filter and boost search results.

This can be done one of the two ways:

Be aware that the order of relevancy stages order can impact the way documents are boosted.
The default priority order is:

  1. User Relevancy
  2. Personalization
  3. Admin Relevancy

Limitations

  • Some SmartHub Features are unsupported by some search engines.

  • For information about limitations to your search engine, see the "Limitations" topic for your search engine.

Personalized Query Tuning Stage

  • The Personalized Query tuning stage enables you to append information to an actively running user query.
  • This stage requires you to set the User Profile settings.
    • The appended information is generated based on the users’ User Profile properties such as Department or JobName.
  • Use the steps in Add a scripting stage to add the Personalized Query stage.


Available Personalized Query Tuning Stage Settings

UI Elements Description
First match Enables the query processing stops at the first match per keyword

Keyword

  • Enables the user to specify the keyword.

  • This field is required

Included Result Sources
  • Enables the user to specify what result sources are used.

  • If multiple result sources are used, the values must be separated by a semicolon

Excluded Result Sources
  • Enables the user to specify what result sources are excluded.

  • If multiple result sources are used, the values must be separated by a semicolon

Type Enables the user to select the keyword type.
New Keyword (button) Creates a new keyword with all the properties associated to a keyword.
Delete Keyword (button) Deletes the selected keyword.
Partial Match A toggle that enables partial matching.
Addition
  • Group of parameters described in the list below. 

  • Can be added or removed (with red 'X').

  • Condition property
The user can specify a property that is used in the condition check for the addition.
  • Condition value
  • The user can specify the condition check value for the addition.

  • The addition condition is formed from the condition property and the condition value.

  • Operator
  • Has one of the two available values: "AND" / "OR" .

  • The default value is "OR".

  • Multivalue operator
  • Has one of the two available values: "AND" / "OR" .

  • The default value is "OR".

  • Multivalue delimiter
  • Enables the user to specify a delimiter for multi-value properties

  • The input is invalid if it is empty

  • Property format
  • Enables the user to specify an additional property format.

    Examples:

    • XRANK(cb = 100) {0}

    • ESC_DEPARTMENT: Shown in the example below this table.

Generate property format value button

Shown in the example graphic below.

  1. When clicked, this button renders a number of property values inputs based on the number of properties used in the property format text box.

  2. The property values are rendered in the order used in the property format text box.

  • Property format value
(can appear multiple times)
Enables the user to specify the value for the property used in the property format text box.
  • Property default value
Enables the user to specify a default value that is used in case that the dynamic property value entered does not exist.
  • Delete addition
Deletes the selected addition.
  • Sorting
Enables the user to reorder the additions.
  • New addition
  • See button at bottom of graphic below.

  • Creates a new addition with all the properties associated with an addition.

Personalize Query Tuning Keyword Example

See the following graphic (appearance of window varies, but fields remain the same) for examples of various Personalized Query tuning stage parameter values.